#include <fstream>
#include <iostream>
using namespace std;

int main(int argc ,char **argv)
{
    char ch[256];
    ifstream ifile;
    ifile.open("Num.txt");
    cout<<"文件内容："<<endl;
    do
    {
        ifile.getline(ch,255);
        cout<<ch<<endl;
    } while(ifile.eof()==0);
    ifile.close();
    return 0;
}